<div class="header">
    <nav class="navbar navbar-inverse" role="navigation">
        <div class="container-fluid">
            <div class="navbar-header">
                <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse-example">
                    <span class="sr-only">切换导航</span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
                <div class="navbar-brand" href="#">
                    <button type="button" class="slider-toggle" title="侧边栏开关">
                        <span class="sr-only">切换导航</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a href="#">WCup后台管理</a>
                </div>
            </div>
            <div class="collapse navbar-collapse navbar-collapse-example">
                <ul class="nav navbar-nav">
                    <li <if condition="$mark eq 'index'">class="active"</if>><a href="{:U('index/index')}"><i class="icon icon-home"></i> 首页</a></li>
                    <li <if condition="$mark eq 'system'">class="active"</if>><a href="{:U('system/index')}"><i class="icon icon-cog"></i> 系统</a></li>
                    <li <if condition="$mark eq 'user'">class="active"</if>><a href="{:U('user/index')}"><i class="icon icon-user"></i> 用户</a></li>
                    <li <if condition="$mark eq 'content'">class="active"</if>><a href="{:U('article/index')}"><i class="icon icon-file-text"></i> 内容</a></li>
                    <li <if condition="$mark eq 'extend'">class="active"</if>><a href="{:U('smsport/index')}"><i class="icon icon-tags"></i> 扩展</a></li>
                    <li <if condition="$mark eq 'count'">class="active"</if>><a href="{:U('count/index')}"><i class="icon icon-dashboard"></i> 统计</a></li>
                    <li <if condition="$mark eq 'module'">class="dropdown active"<else />class="dropdown"</if>>
                        <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown"><i class="icon icon-cube-alt"></i> 模块 <b class="caret"></b></a>
                        <ul class="dropdown-menu" role="menu">
                            <li <if condition="$umark eq 'company'">class="active"</if>><a href="{:U('company/index')}">厂商</a></li>
                            <li <if condition="$umark eq 'team'">class="active"</if>><a href="{:U('team/index')}">团队</a></li>
                            <li class="divider"></li>
                            <li <if condition="$umark eq 'project'">class="active"</if>><a href="{:U('project/index')}">项目</a></li>
                            <li <if condition="$umark eq 'bug'">class="active"</if>><a href="{:U('bug/index')}">漏洞</a></li>
                        </ul>
                    </li>
                </ul>
                <ul class="nav navbar-nav navbar-right">
                    <li class="dropdown navicon">
                        <a href="{:U('home/index/index')}" title="打开前台" target="_blank"><i class="icon icon-home"></i></a>
                    </li>
                    <li class="dropdown navicon">
                        <a class="btn-removeRuntime" href="javascript:;" data-href="{:U('index/removeRuntime')}" title="清空缓存"><i class="icon icon-trash"></i></a>
                    </li>
                    <li class="dropdown navicon bell">
                        <a href="javascript:;" title="消息通知" class="dropdown-toggle" data-toggle="dropdown"><i class="icon icon-bell-alt"></i><span class="bubble">99+</span></a>
                        <ul class="dropdown-menu">
                            <li>
                                <div class="nano nscroller">
                                    <div class="content">
                                        <ul>
                                            <li><a href="#"><i class="icon icon-cloud-upload text-info"></i> 您有 1 条数据尚未备份 <span class="date">2 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-bug text-success"></i> 新增了 6 个漏洞待审核 <span class="date">15 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-user text-warning"></i> 您有 20 条用户认证未审核 <span class="date">30 分钟前</span></a></li>
                                            <li><a href="#"><i class="icon icon-yen text-danger"></i> 有 1 条提现记录尚未处理 <span class="date">1 小时前</span></a></li>
                                        </ul>
                                    </div>
                                </div>
                                <ul class="foot">
                                    <li><a href="#">查看全部消息</a></li>
                                </ul>
                            </li>
                        </ul>
                    </li>
                    <li class="dropdown user">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img class="avatar" src="__img__/avatar2.jpg" /> <span>{$Think.session.account}</span> <b class="caret"></b></a>
                        <ul class="dropdown-menu">
                            <li><a href="#">打开前台</a></li>
                            <li><a href="#">个人设置</a></li>
                            <li><a href="#">修改密码</a></li>
                            <li class="divider"></li>
                            <li><a href="#">注销</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </nav>
</div>
